package cn.dengyongsheng.entity;

/**
 * 星球类
 */
public class Star {
    private String Name;// 名称
    private String Constellation;// 星座
    private Double Mass;// 质量
    private String Description;// 描述
    private Integer Temperature;// 温度

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getConstellation() {
        return Constellation;
    }

    public void setConstellation(String constellation) {
        Constellation = constellation;
    }

    public Double getMass() {
        return Mass;
    }

    public void setMass(Double mass) {
        Mass = mass;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public Integer getTemperature() {
        return Temperature;
    }

    public void setTemperature(Integer temperature) {
        Temperature = temperature;
    }

    @Override
    public String toString() {
        return "Star{" +
                "Name='" + Name + '\'' +
                ", Constellation='" + Constellation + '\'' +
                ", Mass=" + Mass +
                ", Description='" + Description + '\'' +
                ", Temperature=" + Temperature +
                '}';
    }
}
